In order to convert Teenage Mutant Ninja Turtles to MMC5, the ROM must be expanded, because there is very little free space in the hardwired bank.  The ROM is expanded in Step 3.  Just make sure that Step 3 is the only time that you are actually ADDING bytes to the ROM.  In the hex editor I use, if you copy and paste bytes, it actually ADDs those bytes, instead of REPLACING the bytes that are already there.  So, whenever I expand a ROM, I use my hex editor to ADD bytes, but when there are bytes I want to REPLACE, I just go into the hex editor of FCEUX and do my copy and pasting there.  Please note that in expanding the ROM, the PRG-ROM is being maxed out to MMC5's maximum limit.  So there is now plenty of free space in the switchable banks, but it's still somewhat lacking in the hardwired bank.  I did remove the old mapper code though, so I was able to free up some space that way.  But with what free space I was able to free up in the hardwired bank, in conjunction with all of the free space that is now available to you in the switchable banks, you should have very little problem implementing ASM hacks now.

1. 0x04

40

2. 0x06

50

3. 0x1c010

Add $E0000 bytes of 00.

4. 0xfc010 - 0x1000f

Copy all bytes.

5. 0x1c010

Paste those bytes here.

6. 0xfc010 - 0x1000f

Make all of these bytes 00.

7. 0xfffac

A9018D0051A9018D0151A9028D0251A9018D0351A9508D0551A9008D1351A90F8D1550A9008D2351A90F8D2751A90F8D2B51A9008D1551A90E8D1751

8. 0x10000c

9CFF

9. 0x1ce66

3866F08D055106F060EAEAEAEAEAEAEAEAEAEAEAEAEAEAEAEA85273866F08D235106F060EAEAEAEAEAEAEAEAEAEAEAEAEAEAEAEA85283866F08D27518D2B5106F060EAEAEAEAEAEAEAEAEAEAEAEAEA85213866F0480A69808D15516806F060EAEAEAEAEAEAEAEAEAEAEA

10. 0x1c329

A9448D0551EAEAEAEAEAEAEAEAEAEAEAEAEAEAEAEAA90E8D1551EAEAEAEAEAEAEAEAEAEAEAEAEAEAEAEA

11. 0xbf7b

44

12. 0xe956

50

13. 0x1c363

44

14. 0x1cce3

44

15. 0x1d2ee

50

16. 0x1d495

44

17. 0x1d4dd

50

And that should do it!  You have successfully converted Teenage Mutant Ninja Turtles to MMC5! :D




acmlm.kafuka.org